<!-- todo 左侧侧边栏 -->
<!-- @ Logo 导航 用户信息(登录)  -->

<script setup>
import Nav from '@/views/Sidebar/nav.vue'
import User from '@/views/Sidebar/user.vue'
</script>

<template>
  <nav class="nav">
    <!-- !Logo -->
    <span class="logo">
      <img src="../assets/logo.png" alt="学真" />
    </span>
    <!-- !导航 -->
    <Nav></Nav>
    <!-- !用户信息 -->
    <User></User>
  </nav>
</template>
<style scoped lang="less">
.nav {
  background-color: #25272d;
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    margin-top: 25px;
    margin-bottom: 13px;
    img {
      width: 45%;
      height: 140%;
    }
  }
}
</style>
